package com.njh.check;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author ：njh
 * @date ：Created in 2023/12/14 11:14
 * @description：
 * @modified By：
 * @version:
 */
@SpringBootApplication
@EnableFeignClients // 开启远程调用
@MapperScan(basePackages = "com.njh.check.mapper")
@ComponentScan(basePackages = {"com.njh.check","com.hos.config"})
@EnableCaching          //开启缓存注解驱动
public class CheckApp {
    public static void main(String[] args) {
        SpringApplication.run(CheckApp.class, args);
    }
}